package com.virtium.vpc.dao;

import java.util.List;
import com.virtium.vpc.hibernate.model.VpcPackage;

/**
 * A data access object (DAO) providing persistence and search support for
 * VpcPackage entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see aa.VpcPackage
 * @author NguyenTuanAnh AnhNguyen@viritum.com
 */

public interface VpcPackageDAO extends GenericDAO {
	public void save(VpcPackage transientInstance);

	public void delete(VpcPackage persistentInstance);

	public VpcPackage findById(java.lang.Integer id);

	public List findByExample(VpcPackage instance);

	public List findByProperty(String propertyName, Object value);

	public List findByText(Object text);

	public List findAll();

	public VpcPackage merge(VpcPackage detachedInstance);

	public void attachDirty(VpcPackage instance);

	public void attachClean(VpcPackage instance);
}